<template>
</template>
<!--//单独流程发起-->
<script lang="ts" setup name="wf-start">
  import { ref } from 'vue';
  import { useUserStoreWithOut } from '/@/store/modules/user';
  import { getRequestParams } from '/@/utils/auth';
  const user = useUserStoreWithOut();
  const url = ref(
    `${import.meta.env.VITE_APP_JFLOW_CORE_ADDR}/#/FEForward?action=MyFlow&flow_no=${getRequestParams('id')}&token=${user.getJFlowToken}&s_token=${user.getToken}`
  );
  window.open(url,'_blank');
</script>
